package com.jinmdz.fmis.api.admin.model.administrativearea;

import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 行政区划树Item
 *
 * @author LiCongLu
 * @date 2020-03-17 08:58
 */
@ApiModel(value = "行政区划树Item", description = "行政区划树Item")
public class AdministrativeAreaTreeItem extends BaseBean {

    /**
     * 行政区划主键
     */
    @ApiModelProperty(value = "行政区划主键", name = "id", position = 1)
    private Integer id;

    /**
     * 父行政区划代码主键
     */
    @ApiModelProperty(value = "父行政区划代码主键", name = "parentId", position = 2)
    private Integer parentId;

    /**
     * 行政区划名称
     */
    @ApiModelProperty(value = "父行政区划代码主键", name = "label", position = 3)
    private String label;

    public Integer getId() {
        return id;
    }

    public AdministrativeAreaTreeItem setId(Integer id) {
        this.id = id;
        return this;
    }

    public Integer getParentId() {
        return parentId;
    }

    public AdministrativeAreaTreeItem setParentId(Integer parentId) {
        this.parentId = parentId;
        return this;
    }

    public String getLabel() {
        return label;
    }

    public AdministrativeAreaTreeItem setLabel(String label) {
        this.label = label;
        return this;
    }
}
